#ifndef ADVICEWINDOW_H
#define ADVICEWINDOW_H

#include <QMainWindow>
#include <QTextEdit>
#include <QPushButton>
#include "aichatdialog.h"
#include <QString>
#include <QVBoxLayout>

class AdviceWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit AdviceWindow(QWidget *parent = nullptr);
    void setAdviceText(const QString &text);

signals:
    void returnToPrevious();

private:
    QTextEdit *adviceText;
    QPushButton *backButton;
    QPushButton *aiChatButton;
    AIChatDialog *aiChatDialog;
};

#endif // ADVICEWINDOW_H